//-----------------------------------------------------------------------
// <copyright file="OperatingSystemUnitTest.cs" company="CodePlex">
//     Copyright (c) Doug Holland, CodePlex. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace CodePlex.Diagnostics
{
    using System;
    using System.Reflection;

    using System.Collections;
    using System.Collections.Generic;

    using Microsoft.VisualStudio.TestTools.UnitTesting;

    /// <summary>
    /// Provides unit testing for the <see cref="T:CodePlex.Diagnostics.OperatingSystem"/> class.
    /// </summary>
    [TestClass]
    public sealed class OperatingSystemUnitTest
    {
        #region public OperatingSystemUnitTest()

        /// <summary>
        /// Initializes a new instance of the <see cref="T:OperatingSystemUnitTest"/> class.
        /// </summary>
        public OperatingSystemUnitTest()
        {
        }

        #endregion

        #region public void GetOperatingSystemTest()

        /// <summary>
        /// Unit test to exercise the <see cref="M:CodePlex.Diagnostics.Processor.GetProcessors"/> static method.
        /// </summary>
        [TestMethod]
        public void GetOperatingSystemTest()
        {
            OperatingSystem operatingSystem = new OperatingSystem();

            Assert.IsNotNull(operatingSystem);

            Assert.IsFalse(string.IsNullOrEmpty(operatingSystem.Name));
        }

        #endregion
    }
}
